package com.mi.fums.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 附件 配置参数
 *
 * @author jin_huaquan
 * @version 1.0
 * @date 2022/4/9 8:54
 */
@ConfigurationProperties(prefix = "attachment")
@Component
@Data
public class AttachmentProperties {

	/**
	 * file（dir） path
	 */
	private String path;

	/**
	 * Uploaded file moving path
	 */
	private String mvPath;

	/**
	 * file uploaded failed path for retry
	 */
	private String errPath;

	/**
	 * oss upload path
	 */
	private String uploadPath;

}
